//
//  BSKSington.m
//  AlarmClock
//
//  Created by aaaa on 2016/10/12.
//  Copyright © 2016年 apple. All rights reserved.
//

#import "BSKSington.h"

@interface BSKSington ()
@property (nonatomic,strong) NSMutableDictionary * dic;
@end
@implementation BSKSington

- (instancetype)init
{
    self = [super init];
    if (self) {
        self.dic = [NSMutableDictionary dictionary];
    }
    return self;
}

+(BSKSington *)sharBSKSington{
 
    static BSKSington * obj = nil;
    if (obj == nil) {
        obj = [[BSKSington alloc]init];
    }
    return obj;
}


-(void)setObject:(nullable id)anObject forKey:(nonnull id<NSCopying>)aKey{
    [self.dic setObject:anObject forKey:aKey];
}
-(nullable id)objectForKey:(nonnull id)aKey{
    return [self.dic objectForKey:aKey];
}
-(void)removeObjectForKey:(id)aKey{
    [self.dic removeObjectForKey:aKey];
}
@end
